<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>生成图片</title>
    <script src="../jquery/jquery3.6.js"></script>
    <script src="toPic.js"></script>
    <!-- 引入 layui.css -->
    <link href="../jquery/layui-main/layui-main/src/css/layui.css" rel="stylesheet">
    <!-- 引入 layui.js -->
    <script src="../jquery/layui-main/layui-main/dist/layui.js"></script>
    <!--统一URL-->
    <script src="../URLJS/URL.js"></script>
</head>
<body>
<input type="text" placeholder="介绍">
<input type="text" placeholder="类型">
<div class="layui-progress layui-progress-big" lay-showPercent="true" lay-filter="demo-filter-progress">
    <div class="layui-progress-bar" lay-percent="0%"></div>
</div>
<hr class="ws-space-16">
<div class="layui-btn-container">
    <!--<button class="layui-btn" lay-on="setPercent">设置 50%</button>-->
    <button class="layui-btn" lay-on="loading" onclick="init(this.parentElement.previousElementSibling.previousElementSibling.previousElementSibling.previousElementSibling.value,this.parentElement.previousElementSibling.previousElementSibling.previousElementSibling.value)">生成</button>
</div>
<div><img id="pic" src=""></div>
<!--
https://api.lolimi.cn/API/AI/isd.php?msg=
可爱的萝莉&img=https://gchat.qpic.cn/gchatpic_new/0/0-0-705F3B27B378074BFAFD41471B252050/0&mode=
写实
-->
</body>
</html>